from pydantic import BaseModel


class Server_status(BaseModel):
    cpu_usage: float
    memory_usage: float
    ai_process_count: int
    web_frontend_status: str
    web_backend_status: str
    disk_usage_percent: float
    disk_utilization_percent: float
    network_bandwidth: str
    network_throughput: str
    system_load_average_percent: float
    gpu_model: str
    gpu_utilization: str
    gpu_memory_free: str
    gpu_temperature: str
    timestamp: str

    class Config:
        orm_mode = True
